package com.topvision.repository;

import com.topvision.common.utils.repository.BaseRepository;
import com.topvision.domain.SysOrderDetail;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.Set;

public interface SysOrderDetailRepository extends JpaRepository<SysOrderDetail,Long> {
    List<SysOrderDetail> findSysOrderDetailsByOrderIdIn(List<Long> ids);

    List<SysOrderDetail> findSysOrderDetailsByProductIdIn(Set<Long> pids);
}
